<div class="row">
    <?php foreach ($article_list as $v) { ?>
    <h1><?=$v['subject']?> <button type="button" class="btn btn-primary" onclick="deleteArticle(<?=$v['idx']?>)">DELETE</button></h1>
    <blockquote><small><?=$v['regdate']?></small></blockquote>
    <hr>
    <p><?=$v['contents']?></p>
    <?php } ?>
</div>